<?php 
/* 
 * This file is part of TCDB. 
 * 
 * Copyright (C) 2000-2009 
 * Technology Consultant Corps 
 * Grinnell College 
 * Grinnell, IA, 50112 
 * tc@grinnell.edu 
 * 
 * TCDB is free software; you can redistribute it and/or modify 
 * it under the terms of the GNU General Public License as published by 
 * the Free Software Foundation; either version 3 of the License, or 
 * (at your option) any later version. 
 * 
 * TCDB is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
 * GNU General Public License for more details. 
 * 
 * You should have received a copy of the GNU General Public License 
 * along with TCDB. If not, see <http://www.gnu.org/licenses/>. 
 * 
 
 ============================================================================= 
 
 * config.php -- Sets important configuration information in $config array
 *		 Sets error_reporting level
 * 
 * Author: Dylan J. Sather
 * Created: 2009-06-04 
 * Last edited: 2009-07-02 
 * 
 * Thanks to Avram Lyon for his work on config.php since March 2004
 */ 

/* NOTE TO DYLAN: I've taken out a few variables from the $config array,
   such as $shift_tolerance and $sloppy_subs. I feel these belong
   elsewhere, but perhaps I'll add them back in after looking through
   the code */

// MySQL DB settings
$config["mysql_host"] = "localhost";
$config["mysql_user"] = "user";
$config["mysql_passwd"] = "passwd";
$config["mysql_db"] = "db";

// General settings
$config["system_title"] = "TCDB";  // Program title
$config["system_email"] = "tc@grinnell.edu";  // e-mail for system e-mails
$config["system_description"] = "Technology Consultant Database"; // Longer description of system

// TCC e-mails

/* N.B: when there are two or more TCCs in the same position and
         you want to have multiple e-mails, concatenate as shown below */

$config["admin_tcc_email"] = "botmille@grinnell.edu";
$config["hd_tcc_email"] = "satherdy@grinnell.edu";
$config["av_tcc_email"] = 'shybutmi@grinnell.edu' . ', ';
$config["av_tcc_email"] .= 'reischma@grinnell.edu';
$config["training_tcc_email"] = 'liuhuiti@grinnell.edu' . ', '; 
$config["training_tcc_email"] .= 'nayarsur@grinnell.edu' . ', ';
$config["training_tcc_email"] .= 'dhakalsa@grinnell.edu';

// TCDB admin e-mails 
$config["tcdb_admin_email"] = 'lidakaau@grinnell.edu' . ', ';
$config["tcdb_admin_email"] .= 'aggarwal@grinnell.edu' . ', ';
$config["tcdb_admin_email"] .= 'satherdy@grinnell.edu';

/* Error reporting
   
   For us, display_errors is set to On and error_reporting is set
   to E_ALL & E_STRICT & ~E_NOTICE, which shows us all errors and bad coding 
   practices, without the harmless warnings. These are development settings,
   and should be changed when TCDB 2.0 goes active. At that point, we 
   should send errors to a log instead of displaying them for the user
   
   For more info on error reporting, see 
   http://us2.php.net/manual/en/function.error-reporting.php AND
   http://us2.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting 
*/

/* Comment out the below line to show all errors. As of PHP 6, setting 
   error_reporting to E_ALL will yield the same result */
error_reporting(-1);

// Set default timezone
date_default_timezone_set('America/Chicago');
?>
